<h2><?php echo T_('Change password') ?></h2>
<p>
  <?php echo T_('Here you can change your password.');?><br />
  <?php echo T_('Please remember! Your previous password was erased, so if you don\'t set the password now, you won\'t be able to login next time') ?>
</p>
<form action="<?php echo WebRoot ?>settings.php" method="post">
  <fieldset>
    <legend><?php echo T_('New password'); ?></legend>
    <input type="hidden" name="password[OldPassword]" value="<?php echo $generatedPass;?>" />
     <input type="hidden" id="registerEmail" value="<?php echo $user->EMail;?>" />
    
    <label for="registerPassword"><?php echo T_('New password');?></label><br />
    <input type="password" id="registerPassword" class="tooltipTitle" title="<?php echo T_('Password must have at least 6 chars') ?>" name="password[NewPassword]" />
    <span id="registerPasswordResult"></span><br />               
    
    <label for="repeatPassword"><?php echo T_('Retype password');?></label><br />
    <input type="password" id="repeatPassword" class="tooltipTitle" title="<?php echo T_('Please re-enter the password') ?>" name="password[RepeatPassword]" /><br />
    
    <input type="submit" name="password[submit]" value="<?php echo T_('Change password');?>" />
    <div>
      <?php echo T_('Keep your account safe by using a strong password.'); ?><br />
      <?php echo T_('Including uppercase and lowercase letters, as well as numbers and symbols, can help make a password stronger.'); ?>
    </div>
  </fieldset>
</form>
<div class="clear"></div>
